-- card: 6242 from stack: in -- bmap block id: 0 -- flags: 0000 -- background id: 5187 -- name: print w/out TN bottom -- part 3 (field) -- low flags: 00 -- high flags: 0007 -- rect: left=0 top=52 right=342 bottom=512 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 4 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: List ----- HyperTalk script ----- on mouseUp global listSelected, lineClicked put clickLine() into lineClicked -- determine how many lines are hidden above put (the scroll of me / textHeight of me) into linesAbove -- add that number to the relative position clicked add linesAbove to lineClicked -- userLevel must be set to 4 or 5 for select to work put userLevel into tempUserLevel set userLevel to 5 select line lineClicked of card field "list Index" put tempUserLevel into userLevel if the selection is empty then exit mouseUp end if put the selection into listSelected end mouseUp -- part 5 (button) -- low flags: 00 -- high flags: 0001 -- rect: left=495 top=53 right=341 bottom=511 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: New Button -- part contents for card part 3 ----- text ----- 10. | none | Keywords dialog 11. | none | Help view 12. | none | File Server PICT 13. | none | DispPICT window